﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;

namespace PhantomDb.Config.App
{
    public class PhantomAppConfig: AbstractConfigurator
    {
        protected override Configuration.Phantom GetSection()
        {
            var section = ConfigurationManager.GetSection("Phantom") as Configuration.Phantom;
            return section;
        }

        protected override void Save(PhantomDb.Core.Environment e)
        {
            PhantomConfig.E = e;
        }
    }
}
